package com.tms.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tms.mapper.StockMapper;
import com.tms.entity.Stock;
import com.tms.service.StockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * (Stock)表服务实现类
 *
 * @author makejava
 * @since 2024-12-27 23:18:03
 */
@Service("stockService")
public class StockServiceImpl extends ServiceImpl<StockMapper, Stock> implements StockService {

    @Autowired
    private StockMapper stockMapper;

    @Override
    public IPage pageList(Page<Stock> page, Wrapper<Stock> wrapper) {
        return stockMapper.pageList(page, wrapper);
    }
}


